﻿using SilentWebsite.Model;
using SilentWebsite.ViewModels;
using SilentWebsite.ViewModels.Helpers;

namespace SilentWebsite
{
    public partial class MainPage
    {
        public MainPage()
        {
            InitializeComponent();
            SilentEngine.Instance.ToString();
            DataContext = new MainPageViewModel(NavigationFrame);
        }

        private void UserControlLoaded(object sender, System.Windows.RoutedEventArgs e)
        {
            NavigationService.Frame = NavigationFrame;
            NavigationService.Navigate("start");
        }
    }
}
